package consumer.conf;

import io.confluent.kafka.consumer.conf.PropertiesReader;

import java.util.UUID;

/**
 * Created by taotao on 2017/12/14.
 */
public class testProperties {
    public static void main(String[] args) {
        System.out.println(UUID.randomUUID());
        System.out.println(PropertiesReader.KAFKA_BOOTSTRAP_SERVERS);
        System.out.println(PropertiesReader.KAFKA_CONSUMER_GROUP_EVENT);
        String alarmName = "cpu alarm location,940087d5-f889-4533-a5be-9574af5dd880";
        String attrs[] = alarmName.split(":");
        if (attrs.length > 1) {
            System.out.println("resource_id=" + attrs[1]);
        }


    }
}
